﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AMRService.Models.ResponseModels.Temp
{
	public class TaskPos
	{
		/// <summary>
		/// 
		/// </summary>
		public int id { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int taskChainId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int action { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string loading { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int sequence { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string dockingDirection { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string dockingX { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string dockingY { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string dockingTheta { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string forceLoad { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int mapId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string endPointCode { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int status { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int amrId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string startTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string finishTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int timeTakes { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string createTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string modifyTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string refTaskSequence { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string flag { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string extend { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string uuid { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string waitingTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string ignoreWaitingDistance { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string taskType { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int priority { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string reachTime { get; set; }
	}

	public class TaskChainPo
	{
		/// <summary>
		/// 
		/// </summary>
		public int id { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int areaId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int priority { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int amrId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string candidateAmrId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string type { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string groupId { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int comeFrom { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string fromDetail { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public bool repeatFlag { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int status { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string startTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string finishTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int timeTakes { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string createTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string modifyTime { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string uuid { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string interrupt { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string isReturn { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public bool replaceable { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string taskSeq { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public int assignType { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string isOrder { get; set; }
	}

	public class Data
	{
		/// <summary>
		/// 
		/// </summary>
		public List<TaskPos> taskPos { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public TaskChainPo taskChainPo { get; set; }
	}

	//查询任务链信息返回数据
	public class Root
	{
		/// <summary>
		/// 操作成功
		/// </summary>
		public string errMsg { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public string errCode { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public bool state { get; set; }
		/// <summary>
		/// 
		/// </summary>
		public List<Data> data { get; set; }
	}

}
